from base import Base
from selenium.webdriver.common.by import By

class page1(Base):
    def test_my(self):
        loc=(By.ID,'com.kongfz.app:id/ll_nav5')
        ele=self.find_ele(loc)
        return ele

    def test_name(self):
        loc=(By.ID,'com.kongfz.app:id/et_login_name')
        ele=self.find_ele(loc)
        return ele

    def test_pwd(self):
        loc=(By.ID,'com.kongfz.app:id/et_pwd')
        ele=self.find_ele(loc)
        return ele

    def test_pr(self):
        loc=(By.ID,'com.kongfz.app:id/iconf_privacy')
        ele=self.find_ele(loc)
        return ele

    def test_btn(self):
        loc=(By.ID,'com.kongfz.app:id/tv_confirm_btn')
        ele=self.find_ele(loc)
        return ele